﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.Record;


namespace TyMES.ViewModel.Record.StockInRecordVMs
{
    public partial class StockInRecordBatchVM : BaseBatchVM<StockInRecord, StockInRecord_BatchEdit>
    {
        public StockInRecordBatchVM()
        {
            ListVM = new StockInRecordListVM();
            LinkedVM = new StockInRecord_BatchEdit();
        }

    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class StockInRecord_BatchEdit : BaseVM
    {
        [Display(Name = "工厂编码")]
        public String factoryCode { get; set; }
        [Display(Name = "货架号")]
        public String hjCode { get; set; }
        [Display(Name = "总成编码")]
        public String zcCode { get; set; }
        [Display(Name = "序号")]
        public String sort { get; set; }
        [Display(Name = "绑定批次")]
        public String batchCode { get; set; }
        [Display(Name = "绑定时间")]
        public DateTime? BindTime { get; set; }
        [Display(Name = "产品类型")]
        public String ProductType { get; set; }
        protected override void InitVM()
        {
        }

    }

}
